package com.sumainfor.pc.gmio.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @Author Eddy·Chen
 * @Email 835033913@qq.com
 * @Create 2019-03-29 19:08
 */
public interface SurrenderMapper {

    /**
     * 查询退租账单
     *
     * @param page
     * @param params
     * @return
     */
    IPage<Map<String, Object>> selectSurrender(Page page, @Param("map") Map<String, Object> params);

    /**
     * 根据编号查询
     *
     * @param infoId
     * @return
     */
    Map<String, Object> getSurrenderByHousingInfoId(String infoId);


    /**
     * 根据主表编号查询详细数据
     *
     * @param witId
     * @return
     */
    Map<String, Object> getSurrenderById(String witId);

}
